//
//  HMStatus.swift
//  sina
//
//  Created by Kent on 16/9/27.
//  Copyright © 2016年 Ming. All rights reserved.
//

import UIKit
import YYModel

class HMStatus: NSObject, YYModel {
    
    // 创建时间
    var created_at: String?
    
    // 微博id
    var id: Int = 0
    
    // 内容
    var text: String?
    
    // 来源
    var source: String?
    
    var user: HMUser?
    
    var retweeted_status: HMStatus?
    
    // 图片数组
    var pic_urls: [HMStatusPicInfo]?
    
    /*
     reposts_count	int	转发数
     comments_count	int	评论数
     attitudes_count	int	表态数
     */
    
    var reposts_count: Int = 0
    
    var comments_count: Int = 0
    
    var attitudes_count: Int = 0
    
    class func modelContainerPropertyGenericClass() -> [String : Any]? {
        return ["pic_urls": HMStatusPicInfo.self]
    }
    
}





























